﻿using UnityEngine;
using System.Collections;

public class CameraFollowBehaviour : MonoBehaviour
{
	void Start ()
	{
	
	}
	
	void Update ()
	{
		transform.LookAt(m_transform);
	}

	public void SetFollowTransform(Transform transf)
	{
		m_transform = transf;

		transform.LookAt(m_transform);
		Debug.Log("SetFollowTransform");
	}

	private Transform m_transform = null;
}
